import React from "react";

interface p {
  extraProp: string;
  title: string;
}

// 被高阶组件包装的组件
const MyComponent = (props: p) => {
  return (
    <div>
      {props.extraProp} | {props.title}
    </div>
  );
};

export default MyComponent;
